
<?php //var_dump($view_data); ?>

<style type="text/css">
#content{/* width:960px; */}
#top_header_bar{height:438.5px;}

/*************** @start@ .goodsList ***************/
.goodsList .singleGoods{float:left; /*width:130px; height:220px;*//* width:180px; */ width:48%; /* height:272px; */ /* padding:0px 10px 10px 10px; */ margin:4px 5px; padding:0px; border: 1px solid #f5f5f5; /*padding:0px 15px 10px 15px*/;}
.goodsList .singleGoods:hover{border: 1px solid #ccc;}
.goodsList .singleGoods a{position:relative; display: inline-block; width:100%;}
.goodsList .singleGoods img{/*padding:6px; width:120px; height:120px;*/ padding:0px; /* width:180px; */ width:100%; /* height:180px;*/ /* border:1px solid #ccc; */}
.goodsList .singleGoods_title{padding:3px 5px 0px; text-align:center; /* line-height:20px; */ /*height:40px;*/ overflow:hidden; text-overflow:ellipsis;
    white-space:nowrap;}
.goodsList .singleGoods_title .goodsPrice{color:#F30;}
#content .goodsList .paginationControl{clear:both; float:right; /* padding:10px 0; */ padding:25px;}
/*#content .goodsList .paginationControl a:link{text-decoration:underline;}*/
#content .goodsList .paginationControl a{text-decoration:underline;}
/*************** @start@ .goodsList end ***************/
</style>


<div class="goodsList">
	<?php foreach ($view_data['good_list'] as $good): ?>
    <div class="singleGoods">
        <a href="<?php echo $this->get_url(array('route' => 'good_info', 'id' => $good['id']), true); ?>" target="_blank" title="<?php echo $good['name']; ?>"><img src="<?php echo $good['image_norm'][0]; ?>" /></a>

        <p class="singleGoods_title"><a href="<?php echo $this->get_url(array('route' => 'good_info', 'id' => $good['id']), true); ?>" target="_blank" title="<?php echo $good['name'] ?>"><?php echo $good['name_sub']; ?></a></p>

        <p class="singleGoods_title">
            <span class="goodsPrice">￥<!--¥--> <?php echo $good['min_price']; ?><?php if($good['max_price'] > $good['min_price']): ?> ～ <?php echo $good['max_price']; ?><?php endif; ?></span>
        </p>
    </div>
    <?php endforeach; ?>
    <?php echo $view_data['page_lib_output']; ?>
</div>
